/*
 * ComponentElement.h
 *
 *  Created on: 2011-04-17
 *      Author: jacek
 */

#ifndef COMPONENTELEMENT_H_
#define COMPONENTELEMENT_H_
#include "Component.h"
#include <cstdlib>
class ComponentElement {
public:
	Component* component;
	ComponentElement* next;
	ComponentElement(Component* component);
	~ComponentElement();
	Component* operator->(){return component;}
	Component* operator*(){return component;}
	void operator++();

};


#endif /* COMPONENTELEMENT_H_ */
